﻿using AuthCenter.API.DTOs;
using AuthCenter.ErrorCode;
using MediatR;

namespace AuthCenter.API.Application.Command.Account
{
    public class GetAccountCommand:IRequest<APIPaging<AccountDTO>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 用户名
        /// </summary>
        public string? Name {  get; set; } 
    }
}
